package java46.oo5;

public class OldDriver {
	private String name;
	private String no;

	public void drive(Car c) {
		System.out.println(name + "开轿车逛街了");
		c.start();
	}

	public void drive(Bus b) {
		System.out.println(name + "开公交车了");
	}

	public void drive(Train t) {
		System.out.println(name + "开始开火车了");

	}
}
